ITypedRedisClientFacadeAsync<T>
Assembly: ServiceStack.dll
View Source
Declaration
public interface ITypedRedisClientFacadeAsync<T>
Methods
GetNextSequenceAsync(CancellationToken)
View Source
Declaration
Task<int> GetNextSequenceAsync(CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<System.Int32>
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |
GetByIdAsync(Object, CancellationToken)
View Source
Declaration
Task<T> GetByIdAsync(object id, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<<T>>
Parameters
Type | Name |
---|---|
System.Object | id |
System.Threading.CancellationToken | token |
GetByIdsAsync(IEnumerable, CancellationToken)
View Source
Declaration
Task<List<T>> GetByIdsAsync(IEnumerable ids, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
System.Collections.IEnumerable | ids |
System.Threading.CancellationToken | token |
DeleteByIdAsync(String, CancellationToken)
View Source
Declaration
Task DeleteByIdAsync(string id, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.String | id |
System.Threading.CancellationToken | token |
DeleteByIdsAsync(IEnumerable, CancellationToken)
View Source
Declaration
Task DeleteByIdsAsync(IEnumerable ids, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task
Parameters
Type | Name |
---|---|
System.Collections.IEnumerable | ids |
System.Threading.CancellationToken | token |
GetAllAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)
View Source
Declaration
Task<List<T>> GetAllAsync(int? skip = null, int? take = null, CancellationToken token = default(CancellationToken))
Returns
System.Threading.Tasks.Task<System.Collections.Generic.List<<T>>>
Parameters
Type | Name |
---|---|
System.Nullable<System.Int32> | skip |
System.Nullable<System.Int32> | take |
System.Threading.CancellationToken | token |